package com.ruoyi.yljf.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName AliPayProperties
 * @Description alipay
 * @Author wangpan
 * @Date 2025/3/17 10:47
 * @Version 1.0
 **/
@Configuration
@Data
@ConfigurationProperties(prefix = "ali.pay")
public class AliPayProperties {

    //请求协议
    private String protocol;
    // 请求网关
    private String gatewayHost;
    // 签名类型 RSA2
    private String signType;
    // 应用ID
    private String appId;
    // 应用私钥
    private String merchantPrivateKey;
    // 支付宝公钥
    private String alipayPublicKey;
    // 异步通知接收服务地址
    private String notifyUrl;
    // 设置AES密钥
    private String encryptKey;
}
